<?php
include('header.php');
if(!$session->isAdmin()){
   header("Location: ../index.php");
}
else{
        if (((isset($_GET['id'])) &&($_GET['id'] == 1)) || (!isset($_GET['id']))) { include('admin.php'); };
        if ((isset($_GET['id'])) && ($_GET['id'] == 2)) { include('configs.php'); };
        if ((isset($_GET['id'])) && ($_GET['id'] == 3)) { include('usersList.php'); };
        if ((isset($_GET['id'])) && ($_GET['id'] == 3.1)) { include('bannedUsersList.php'); };
        if ((isset($_GET['id'])) && ($_GET['id'] == 3.2)) { include('pendingActivation.php'); };
        if ((isset($_GET['id'])) && ($_GET['id'] == 4)) { include('orgList.php'); };
 		if ((isset($_GET['id'])) && ($_GET['id'] == 6)) { include('adminuseredit.php'); };
}
include('footer.php');?> 